* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.04);
}

nav {
    height: 62px;
}

.container {
    width: 1020px;
    margin: 20px auto;
}

.section h2 {
    color: rgba(0,0,0, 0.85)
}

.submenu {
    right: 0;
}

.pull-right {
    float: right !important;
    margin-right: 10px;
}

.pull-left {
    float: left !important;
    margin-left: 10px;
}

.menu {
    display: inline-block;
}

nav .box {
    position: relative;
    display: inline-block;
    height: 100%;
    /* 
       内联元素默认是基线对齐的，没有内容的内联元素是以之前元素的基线作为自己的基线，从而导致的之前的.box元素下陷的问题，
       因为此时的没有内容的内联元素会因为对齐而相对升高，让其对齐的基线为中线可以解决这个问题 
    */
    vertical-align: middle;
}

#logo-box {  
    width: 20.83333333%;
    padding-left: 20px;
}


#logo {
    display: inline-block;
    padding: 15px 0;
    width:100%;
}

#logo:hover {
    background-color: transparent;
}

#logo img {
    height: 32px;
    vertical-align: middle;
    margin-right: 6px;
}

#logo img+img {
    height: 16px;
}


#search-box i.divider {
    position: absolute;
    top: 50%;
    height: 50%;
    margin-top: -15.5px;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

#input-box {
    display: inline-block;
    line-height: 62px;
    padding-left: 16px;
}

#input-box .search-icon {
    color: rgba(0,0,0,0.15);
    font-size: 14px;
}

#input-box input {
    background: transparent;
    width: 200px;
    border:none;
    height: 32px;
    outline: none;
    color: rgba(0,0,0, 0.65);
    font-size: 14px;
    padding: 9px 4px;
    display: inline-block;
}

::placeholder {
    color: rgba(0,0,0, 0.45);
}